<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
       
    
        <ui:composition template="/vistamain.xhtml">
          <ui:define name="title">Log in</ui:define>
          <ui:define name="body">        
            Por favor indentifiquese<br/><br/>
            
                <h:form> 
                <table width="70%">
                    
                    <tr>
                        <td width="40%"> Usuario: </td>
                        <td width="60%">
                            <h:inputText value="#{uBean.usr}"
                                         />
                        </td>
                    </tr>
               
                    <tr><td width="40%"> Contrasena: </td>
                        <td width="60%">
                            <h:inputSecret value="#{uBean.pas}"
                                           />
                        </td></tr>
                    
                </table><br/>
                
                
                <h:commandButton value="Log in!"
                                 action="#{uBean.logIn}"/>
                             <br/><br/>
                
                <h:commandButton value="Registrarse!"
                                 action="#{uBean.register}"/>
                             <br/><br/>
               
                
                </h:form>
           
          </ui:define>
        </ui:composition>
  
</html>